package com.appspot.domain;

import java.io.Serializable;

public class EventVO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	// Field
	private String eventId;								// 이벤트 ID
	private String eventName;							// 이벤트 이름
	private String eventContent;						// 이벤트 내용
	private String eventStartDate;					// 이벤트 시작
	private String eventEndDate;						// 이벤트 종료
	private String eventImage;							// 이벤트 이미지
	private String productName;						// 상품 이름
	private int productQuantity;						// 상품 수량
	private String companyName;					// 회사 이름
	private String companyHomepage;			// 회사 홈페이지
	
	// Constructor
	public EventVO() {
		super();	
	}

	public EventVO(String eventId, String eventName, String eventContent,
			String eventStartDate, String eventEndDate, String eventImage,
			String productName, int productQuantity, String companyName,
			String companyHomepage) {
		super();
		this.eventId = eventId;
		this.eventName = eventName;
		this.eventContent = eventContent;
		this.eventStartDate = eventStartDate;
		this.eventEndDate = eventEndDate;
		this.eventImage = eventImage;
		this.productName = productName;
		this.productQuantity = productQuantity;
		this.companyName = companyName;
		this.companyHomepage = companyHomepage;
	}

	// Getter/Setter Method
	public String getEventId() {
		return eventId;
	}

	public void setEventId(String eventId) {
		this.eventId = eventId;
	}

	public String getEventName() {
		return eventName;
	}

	public void setEventName(String eventName) {
		this.eventName = eventName;
	}

	public String getEventContent() {
		return eventContent;
	}

	public void setEventContent(String eventContent) {
		this.eventContent = eventContent;
	}

	public String getEventStartDate() {
		return eventStartDate;
	}

	public void setEventStartDate(String eventStartDate) {
		this.eventStartDate = eventStartDate;
	}

	public String getEventEndDate() {
		return eventEndDate;
	}

	public void setEventEndDate(String eventEndDate) {
		this.eventEndDate = eventEndDate;
	}

	public String getEventImage() {
		return eventImage;
	}

	public void setEventImage(String eventImage) {
		this.eventImage = eventImage;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getProductQuantity() {
		return productQuantity;
	}

	public void setProductQuantity(int productQuantity) {
		this.productQuantity = productQuantity;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyHomepage() {
		return companyHomepage;
	}

	public void setCompanyHomepage(String companyHomepage) {
		this.companyHomepage = companyHomepage;
	}

	// toString Method
	@Override
	public String toString() {
		return "EventVO [eventId=" + eventId + ", eventName=" + eventName
				+ ", eventContent=" + eventContent + ", eventStartDate="
				+ eventStartDate + ", eventEndDate=" + eventEndDate
				+ ", eventImage=" + eventImage + ", productName=" + productName
				+ ", productQuantity=" + productQuantity + ", companyName="
				+ companyName + ", companyHomepage=" + companyHomepage + "]";
	}	
} // end of class